if __name__ == '__main__':
    expecting = [
        one
        for one in (set('123'))
    ]
    print(expecting)
    arr = [
        one
        for one in ['a', 'b']
        if not one == 'a'   # 过滤a
    ]
    print(arr)